﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Site/Master/Site.master" AutoEventWireup="false" CodeFile="Login.aspx.vb" Inherits="Site_Login" %>

<%@ Register Src="~/Site/Controls/Login.ascx" TagName="Login" TagPrefix="uc1" %>

<asp:Content ContentPlaceHolderID="CphHead" runat="Server">
    <style type="text/css">
        .back_image {
            background: url('/Style/App/img/anonimous-bg.jpg');
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0px;
            left: 0px;
            z-index: -1;
        }
    </style>
</asp:Content>
<asp:Content ContentPlaceHolderID="CphMainContet" runat="Server">

    <script type="text/javascript">

        var send_post;
        var private_message;
        $(function () {

            $(document).on("click", "#forgot_password", function () {
                $('#box_forgot_password').toggle(500);
                return false
            })
        })

    </script>


    <div class="back_image"></div>
    <div class="row-fluid">
        <!-- box options -->
        <div class="home-anonimi">

            <asp:UpdatePanel ID="UpPMain" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <div id="content_UpPMain">

                        <!-- contenuti -->
                        <div class="well-wizard-home-anonimi">
                            <div class="home-anonimi-logo">
                            </div>
                            <asp:Panel runat="server" ID="PnlNotLogged" DefaultButton="BtnLogin">

                                <div class="home-anonimi-form">
                                    <div>
                                        <asp:TextBox ID="TxtEmail" runat="server" placeholder="your email" />
                                    </div>
                                    <div>
                                        <asp:TextBox ID="TxtPass" runat="server" placeholder="password" TextMode="password" />

                                    </div>
                                    <div class="home-anonimi-form-forgot">
                                        <a id="forgot_password" href="#">forgot your password?</a>
                                    </div>
                                    <asp:Label ID="LblErrorLogin" runat="server" Text="Label" Visible="False" ForeColor="Red"></asp:Label>

                                </div>
                                <div class="home-anonimi-button">
                                    <div class="home-anonimi-button-left">
                                        <asp:CheckBox ID="ChkRemeberme" runat="server" Checked="true" ClientIDMode="Static" />

                                        <label for="ChkRemeberme">
                                            <span></span>
                                            remember me
                                        </label>
                                    </div>
                                    <div class="home-anonimi-button-right">
                                        <div>
                                            <%--<a class="bottone-log-in" href="#">Log in</a>--%>
                                            <asp:LinkButton ID="BtnLogin" runat="server" CssClass="bottone-log-in" Text="Log in" ValidationGroup="login" />
                                        </div>
                                    </div>
                                </div>

                            </asp:Panel>
                            <asp:Panel runat="server" ID="PnlLogged" DefaultButton="BtnLogout">
                                <table border="0" width="" class="table_data">
                                    <tr>
                                        <td>
                                            <asp:Label ID="LblUtente" runat="server" Text="Utente"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="LblEmail" runat="server" Text="Utente"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center">
                                            <asp:Button ID="BtnLogout" runat="server" Text="Logout" ValidationGroup="login" />
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                        </div>
                        <div class="well-wizard-home-anonimi-new">
                            <div class="home-anonimi-button">
                                <div class="home-anonimi-button-bottom">
                                    new in Glouk?
                                </div>
                                <div class="home-anonimi-button-right">
                                    <div>
                                        <a class="bottone-sign-up" href="/site">Sign up</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div id="box_forgot_password" class="well-wizard-home-anonimi-psw" style="display: none; margin-top: 10px;">
                            <div class="home-anonimi-psw-title">
                                Forgot your password?
                            </div>
                            <div class="home-anonimi-psw-subtitle">
                                We can help! Write below your email address and we’ll send you a reset link.
                            </div>
                            <div class="home-anonimi-form">
                                <div>
                                    <asp:TextBox ID="TxtEmailSend" runat="server" placeholder="your email" />
                                </div>
                            </div>
                            <div class="home-anonimi-button">
                                <div class="home-anonimi-button-right">
                                    <div>
                                        <asp:LinkButton runat="server" ID="BtnSendPassword" class="bottone-log-in">Send my password</asp:LinkButton>
                                    </div>
                                </div>
                                <asp:Label ID="LblErrorSendPwd" runat="server" Text="Label" Visible="False" ForeColor="Red"></asp:Label>

                            </div>
                        </div>
                        <!-- fine contenuti -->

                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>

        </div>
        <!-- fine box 1 -->






    </div>



</asp:Content>

